package com.tdkj.util;

import java.io.File;
public class FileUtil {

	//删除文件
	public static void deleteFile(String path) throws Exception{
		try {
			File file = new File(path);
			if(file.exists()){
				System.gc();
				file.delete();
			}
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
}
